package org.ourgrid.worker.request;

import org.ourgrid.common.internal.IRequestTO;
import org.ourgrid.worker.business.requester.WorkerRequestConstants;




public class SetPeerRequestTO implements IRequestTO {

	private static String REQUEST_TYPE = WorkerRequestConstants.SET_PEER;
	
	private String senderPublicKey;
	private String peerPublicKey;
	private String peerDID;
	private String masterPeerAddressID;

	private String workerSpecListenerAddress;
	private String accountingAggregatorAddress;
	private boolean isIdlenessDetectorOn;
	private boolean isWorkerSpecReportPropOn;
	private long workerSpecReportTime;

	public String getRequestType() {
		return REQUEST_TYPE;
	}

	public void setPeerDID(String peerDID) {
		this.peerDID = peerDID;
	}

	public String getPeerDID() {
		return peerDID;
	}

	public void setSenderPublicKey(String senderPublicKey) {
		this.senderPublicKey = senderPublicKey;
	}

	public String getSenderPublicKey() {
		return senderPublicKey;
	}

	public void setPeerPublicKey(String peerPublicKey) {
		this.peerPublicKey = peerPublicKey;
	}

	public String getPeerPublicKey() {
		return peerPublicKey;
	}

	public void setIdlenessDetectorOn(boolean isIdlenessDetectorOn) {
		this.isIdlenessDetectorOn = isIdlenessDetectorOn;
	}

	public boolean isIdlenessDetectorOn() {
		return isIdlenessDetectorOn;
	}

	public void setWorkerSpecReportPropOn(boolean isWorkerSpecReportPropOn) {
		this.isWorkerSpecReportPropOn = isWorkerSpecReportPropOn;
	}

	public boolean isWorkerSpecReportPropOn() {
		return isWorkerSpecReportPropOn;
	}

	public void setWorkerSpecListenerAddress(String workerSpecListenerAddress) {
		this.workerSpecListenerAddress = workerSpecListenerAddress;
	}

	public String getWorkerSpecListenerAddress() {
		return workerSpecListenerAddress;
	}

	public void setAccountingAggregatorAddress(
			String accountingAggregatorAddress) {
		this.accountingAggregatorAddress = accountingAggregatorAddress;
	}

	public String getAccountingAggregatorAddress() {
		return accountingAggregatorAddress;
	}

	public void setWorkerSpecReportTime(long workerSpecReportTime) {
		this.workerSpecReportTime = workerSpecReportTime;
	}

	public long getWorkerSpecReportTime() {
		return workerSpecReportTime;
	}

	public String getMasterPeerAddressID() {
		return masterPeerAddressID;
	}

	public void setPeerAddress(String peerSID) {
		this.masterPeerAddressID = peerSID;
	}
}
